package com.personal.service.Impl;

import com.personal.entity.User;
import com.personal.mapper.UserMapper;
import com.personal.service.BorrowingService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author huangliuyong
 * @Description:TODO
 * @date 2025/7/10
 **/
@Slf4j
@Service
public class BorrowingServiceImpl implements BorrowingService {
    @Autowired
    private UserMapper userMapper;


    @Override
    public List<User> getAllUser() {
        List<User> allUser = userMapper.getAllUser();
        return allUser;
    }
}
